package com.ruoyi.develop.lnGongxu.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序对象 ln__gongxu
 *
 * @author qh
 * @date 2024-07-21
 */
public class LnGongxu extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String name;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 工序说明 */
    @Excel(name = "工序说明")
    private String shuoming;

    /** 工序文件 */
    @Excel(name = "工序文件")
    private String file;

    /** 工序图纸 */
    @Excel(name = "工序图纸")
    private String photo;

    /** 工序状态（0正常 1停用） */
    @Excel(name = "工序状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String code;

    /** 所属工艺 */
    @Excel(name = "所属工艺")
    private String haveGongyi;

    /** 是否质检（0正常 1停用） */
    @Excel(name = "是否质检", readConverterExp = "0=正常,1=停用")
    private String isZhijian;

    /** 准备时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "准备时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date readyDate;

    /** 生产时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "生产时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prodDate;

    /** 生产结束时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "生产结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 质检时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zhijianDate;
    private BigDecimal money;
    private BigDecimal moneydo;

    private String idx;

    private String goodsName;
    private String goodsCode;
    private String goodsModel;
    private String goodsId;
    private String[] ids;
    private String  deptId;
    private String deptName;
    private String workHour;

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getWorkHour() {
        return workHour;
    }

    public void setWorkHour(String workHour) {
        this.workHour = workHour;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    private List<LnGongxu> choseColumns;

    public List<LnGongxu> getChoseColumns() {
        return choseColumns;
    }

    public void setChoseColumns(List<LnGongxu> choseColumns) {
        this.choseColumns = choseColumns;
    }

    private String gongyiId;

    public String getGongyiId() {
        return gongyiId;
    }

    public void setGongyiId(String gongyiId) {
        this.gongyiId = gongyiId;
    }

    public BigDecimal getMoneydo() {
        return moneydo;
    }

    public void setMoneydo(BigDecimal moneydo) {
        this.moneydo = moneydo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setShuoming(String shuoming)
            {
            this.shuoming = shuoming;
            }

    public String getShuoming()
            {
            return shuoming;
            }
    public void setFile(String file)
            {
            this.file = file;
            }

    public String getFile()
            {
            return file;
            }
    public void setPhoto(String photo)
            {
            this.photo = photo;
            }

    public String getPhoto()
            {
            return photo;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setHaveGongyi(String haveGongyi)
            {
            this.haveGongyi = haveGongyi;
            }

    public String getHaveGongyi()
            {
            return haveGongyi;
            }
    public void setIsZhijian(String isZhijian)
            {
            this.isZhijian = isZhijian;
            }

    public String getIsZhijian()
            {
            return isZhijian;
            }
    public void setReadyDate(Date readyDate)
            {
            this.readyDate = readyDate;
            }

    public Date getReadyDate()
            {
            return readyDate;
            }
    public void setProdDate(Date prodDate)
            {
            this.prodDate = prodDate;
            }

    public Date getProdDate()
            {
            return prodDate;
            }
    public void setEndDate(Date endDate)
            {
            this.endDate = endDate;
            }

    public Date getEndDate()
            {
            return endDate;
            }
    public void setZhijianDate(Date zhijianDate)
            {
            this.zhijianDate = zhijianDate;
            }

    public Date getZhijianDate()
            {
            return zhijianDate;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("name",getName())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("shuoming",getShuoming())
            .append("file",getFile())
            .append("photo",getPhoto())
            .append("status",getStatus())
            .append("code",getCode())
            .append("haveGongyi",getHaveGongyi())
            .append("isZhijian",getIsZhijian())
            .append("readyDate",getReadyDate())
            .append("prodDate",getProdDate())
            .append("endDate",getEndDate())
            .append("zhijianDate",getZhijianDate())
        .toString();
    }
}
